package com.example.demo2.common.api;

import java.text.SimpleDateFormat;
import java.util.TimeZone;

public class LqApi {
    private final static String DATE_FORMAT_STR_ISO8601_Z = "yyyy-MM-dd'T'HH:mm:ss.SSS'Z'";
    public final static SimpleDateFormat DATE_FORMAT_ISO8601_Z = DATE_FORMAT_ISO8601_Z();

    private static SimpleDateFormat DATE_FORMAT_ISO8601_Z() {
        SimpleDateFormat result = new SimpleDateFormat(DATE_FORMAT_STR_ISO8601_Z);
        result.setTimeZone(TimeZone.getTimeZone("UTC"));
        return result;
    }

    public static interface RequestHeaders {
        String LQ_TOKEN = "lq-token";
    }

    public interface RequestParmeters {
        String Token = "token";
    }

    public interface RequestAttributes {
        String CONTEXT = "lq.api-context";
    }

    public static interface TokenModuleNames {
        String MGR = "MGR";
    }
}
